home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 May / macformat-024.iso / Shareware City / Developers / TransSkel Pascal 2.5 / TransDisplay / EventLog / EventLog.proj.rsrc / EventLog.proj.rsrc.rsrc / TEXT_1000.txt < prev    next >
Encoding:
Text File  |  1994-12-08  |  2.3 KB  |  24 lines

  1. EventLog - Event-logging TransDisplay Demonstration
  2.  
  3.      EventLog is an application that provides the user with information about events that occur while it is running.
  4.      There are three windows.  One of them is the Help window (this window), which describes how the application works.  The Event Log window contains the text of event information.  Both of these windows are standard TransDisplay windows.  The Event Selection window contains check boxes for selecting which types of events are reported.
  5.      The File menu has items in it for selecting application windows and making them visible, and quitting.
  6.      The Edit menu only works for desk accessories, which are selected from the Apple menu.
  7.      The Log menu allows event logging to be turned on or off.  Events for the Event Log window may be excluded from the general log.  Other items in this menu allow the display characteristics of the Event Log window (such as whether word wrap is turned on, justification and text size) to be changed. 
  8.  
  9. Information provided for each type of event is described below.  In the following, "window information" means the window title if the window is a document window, and whether the window belongs to a desk accessory or a dialog.
  10.  
  11. Activate events:  Prints window information, and whether the window is coming active or going inactive. 
  12.  
  13. Update events:  Prints window information. 
  14.  
  15. Disk inserts:  Prints notification of the event.  If the disk needs initializing, that is also reported. 
  16.  
  17. Mouse down:  Prints window information, the mouse location (in local coordinates), the part code, and the modifier flags.  If the mouse was pressed in a control, that is indicated as well.  All of these are selectable via check boxes.  If mouse down events are deselected, all the subtypes of information are implicitly deselected as well. 
  18.  
  19. Key down, autokey:  The character typed and the modifiers. 
  20.  
  21. All other event types:  The event is simply reported. 
  22.  
  23. Note that the event log is by no means complete.  For example, modal dialogs do their own event processing.  Many desk accessory events are not reported, since they are invisible to the host application.  Many mouse-up events are not reported.  For example, clicks in window title bars and close boxes are tracked by ToolBox calls which wait until the mouse-up event occurs.  Such events are never seen by the host. 
  24.